package com.ruoyi.mateproduction.mapper;

import com.ruoyi.mateproduction.domain.MateDaily;
import com.ruoyi.mateproduction.domain.MateDailyModel;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @Author
 * @Version 1.0
 */
@Mapper
public interface MateDailyMapper {

    public int addMateDaily(MateDaily mateDaily);

    public int addMateDailyModel(MateDailyModel mateDailyModel);

    public void  removeMateDaily(Long dailyId);

    public void  removeMateDailyModel(Long dailyId);

    public List<MateDaily> dailyList(MateDaily mateDaily);

    public MateDaily selectMateDaily(Long dailyId);

    public int editMatedaily(MateDaily mateDaily);

    public int editMateDailyModel(MateDailyModel mateDailyModel);

    public MateDailyModel selectMateDailyModel(Long dailyModelId);

    public MateDailyModel selectMateDailyModelLast(Map<String,Object> resMap);

    public List<MateDaily> auditDaily(Long deptId);


    public int addMateDailyTemplate(MateDaily mateDaily);

    public int addMateDailyModelTemplate(MateDailyModel mateDailyModel);

    public void  removeMateDailyTemplate(Long dailyId);

    public void  removeMateDailyModelTemplate(Long dailyId);


    public MateDaily selectMateDailyTemplate(Map<String,Object> resMap);

    public MateDaily selectMateDailyLast(Map<String,Object> resMap);

    public List<MateDailyModel> selectMateDailyModelTemplate(Map<String,Object> resMap);

}
